﻿#ifndef FORMMULTIGROUP_H
#define FORMMULTIGROUP_H

#include <QWidget>

namespace Ui
{
class FormMultiGroup;
}

class QtBrowserItem;
class QtProperty;
class QtVariantProperty;
class FormMultiGroup : public QWidget
{
    Q_OBJECT

public:
    explicit FormMultiGroup(QWidget *parent = nullptr);
    ~FormMultiGroup();

private:
    void initAll(void);
    void initTreeProp(void);

private slots:
    void variantPropertyValueChanged(QtProperty *property, const QVariant &value);
    void slotCopy(void);
    void slotFold(void);
    void slotUnfold(void);

private:
    Ui::FormMultiGroup *ui;

private:
    QMap<std::string, double> m_mapData;
    QList<std::string> m_listKey;
    QList<std::string> m_listPrefix;
    QList<QtVariantProperty *> m_listProperty;
    QList<QtBrowserItem *> m_listBrowser;
};

#endif // FORMMULTIGROUP_H
